package com.j2eefast.produce.pms.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 报价方案
 * pms_test_project
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_scheme")
public class PmsSchemeEntity implements Serializable {
    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    @ExcelIgnore
    private Long id;
    /** 金额 */
    @TableField(value = "amount")
    @ExcelProperty(value = "金额",index = 3)
    private BigDecimal amount;
    /** 甲方 */
    @TableField(value = "firsts")
    @ExcelProperty(value = "甲方",index =1)
    private String firsts;
    /**乙方*/
    @TableField(value = "seconds")
    @ExcelProperty(value = "乙方",index =2)
    private String seconds;
    /** 项目名称 */
    @TableField(value = "project_name")
    @ExcelProperty(value = "项目名称",index = 0)
    private String projectName;
//    /** 签订地点 */
//    @TableField(value = "sign_addr")
//    private String signAddr;
    /** 报价方案url */
    @TableField(value = "scheme_url")
    @ExcelProperty(value = "报价方案url",index = 4)
    private String schemeUrl;
    /** 项目地址 */
    @TableField(value = "project_addr")
    @ExcelProperty(value = "项目地址",index = 5)
    private String projectAddr;
    /** 报价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "scheme_at")
    @ExcelProperty(value = "报价时间",index = 6)
    private Date schemeAt;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    @ExcelProperty(value = "更新时间",index =10)
    private Date updateTime;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    @ExcelProperty(value = "创建时间",index =8)
    private Date createTime;
    /** 创建人 */
    @TableField(value = "create_by")
    @ExcelProperty(value = "创建人",index = 7)
    private String createBy;
    /** 更新人 */
    @TableField(value = "update_by")
    @ExcelProperty(value = "更新人",index =9)
    private String updateBy;
    /** 备注 */
    @TableField(value = "remark")
    @ExcelProperty(value = "备注 */",index = 11)
    private String remark;
















}
